package edu.qust.mybatis_plus.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * projectName: qk_javaproject
 *
 * @author: 肖成扬
 * time: 2021/9/8 14:52
 * description:
 */
@Data
@TableName(value = "product")
public class Product {
    @TableId(type = IdType.AUTO)
    private Integer pid;
    private String pname;
    private Double price;
@TableField(value = "category_name")
    private String cate;
}
